#include <sstream>

#include "ResultGraphTableNode.h"


ResultGraphTableNode::ResultGraphTableNode(void) {
	mSynonymName = "empty-node";
	mValue = -1;
	mNodeIdentifier = ResultGraphTableNode::getNodeIdentifier(mSynonymName, mValue);
}

ResultGraphTableNode::ResultGraphTableNode(const std::string &synonymName) {
	mSynonymName = synonymName;
	mValue = -1;
	mNodeIdentifier = ResultGraphTableNode::getNodeIdentifier(mSynonymName, mValue);
}

ResultGraphTableNode::ResultGraphTableNode(const std::string &synonymName, int value) {
	mSynonymName = synonymName;
	mValue = value;
	mNodeIdentifier = ResultGraphTableNode::getNodeIdentifier(mSynonymName, mValue);
}


ResultGraphTableNode::~ResultGraphTableNode(void)
{
}

const std::string& ResultGraphTableNode::getSynonymName() const {
	return mSynonymName;
}

int ResultGraphTableNode::getNodeValue() const {
	return mValue;
}

const std::string& ResultGraphTableNode::getNodeIdentifier() const {
	return mNodeIdentifier;
}